package jp.co.tms.internal.task;

import jp.co.tms.internal.data.IOriginalServer;
import jp.co.tms.internal.data.IRunServer;


public interface IRunTask extends ITask {
	
	public final static int STAT_PEND    = 0x0001;
	public final static int STAT_ADDED   = 0x0002;
	public final static int STAT_RUNNING = 0x0003;
	public final static int STAT_END     = 0x0004;
	
	public int getPriority();

	public void setPriority(int priority);

	public String getCommand();

	public void setCommand(String command);

	public IOriginalServer getOriginalServer();

	public void setOriginalServer(IOriginalServer originalServer);

	public IRunServer getRunServer();

	public void setRunServer(IRunServer runServer);
	
	public int getStatus();

	public void setStatus(int status);

}
